package com.exam.service.impl;

import com.exam.mapper.ScoreMapper;
import com.exam.po.Score;
import com.exam.service.ScoreSectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhanghui
 * @ClassName ScoreSectionServiceImpl
 * @Description TODO
 * @Date 2021/1/12 17:44
 * @Version 1.0
 **/
@Service

public class ScoreSectionServiceImpl implements ScoreSectionService {
    @Autowired
    private ScoreMapper scoreMapper;
    @Override
    public List<Score> findByExamCode(Integer examCode) {
        return scoreMapper.findScoresByExamCode(examCode);
    }
}
